package com.qs.user.ui.activity;

import android.os.Bundle;
import android.view.View;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.qs.base.base.BaseMyActivity;
import com.qs.base.router.RouterActivityPath;
import com.qs.user.BR;
import com.qs.user.R;
import com.qs.user.databinding.UserAboutUsrActivityBinding;
import com.qs.user.ui.VM.AboutUsrViewModel;

/**
 * 关于我们
 *
 * @Author ltzz
 * @Date 2019/8/24
 */
@Route(path = RouterActivityPath.User.ABOUT_USR_ACTIVITY)
public class AboutUsrActivity extends BaseMyActivity<UserAboutUsrActivityBinding, AboutUsrViewModel> {
    @Override
    protected boolean statusBarDarkFont() {
        return true;
    }

    @Override
    protected View titleLayout() {
        return null;
    }

    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.user_about_usr_activity;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding.head.setTitleLeftText("关于我们");
        binding.head.setAutoFinish(this);

        viewModel.versionStr.set(getVersion());
    }
}
